package com.neusoft.neuiotms.dcom.repository.problem;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.problem.ProblemClosing;

public interface ProblemClosingRepository
        extends JpaRepository<ProblemClosing, Long>, CustomizedProblemClosingRepository {

    ProblemClosing findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    ProblemClosing findByWorkOrderNum(String workOrderNum);
}
